//
//  BGView.m
//  绘制图片
//
//  Created by 伍银荣 on 2021/7/2.
//  Copyright © 2021 com.example. All rights reserved.
//

#import "BGView.h"

@implementation BGView


// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
    //平铺图片设置背景
    [[UIImage imageNamed:@"小图"] drawAsPatternInRect:rect];

}


@end
